package com.hirain.templatemethod;

import org.junit.Test;

/**
 * Created by caicf on 2016/8/23.
 */
public class APTest {

    @Test
    public void test() {
        AbstractClass test=new ConcreteClass();
        test.templateMethod();

        ConClass conClass=new ConClass();
        conClass.templateMethod();
    }
}
